package com.qi.service.impl;

import com.qi.commom.Clazz;
import com.qi.mapper.ClazzMapper;
import com.qi.service.ClazzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class ClazzServiceImpl implements ClazzService {
    @Autowired
    private ClazzMapper clazzMapper;

    /**
     * 查询全部的班级
     *
     * @return
     */
    @Override
    public ArrayList<Clazz> selectClazz() {
        return clazzMapper.selectClazz();
    }
}
